﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sinacor.OMM.DumpEntity
{
    [Serializable]
    public class DumpTraceData : DumpData
    {
        public DumpTraceData()
        {
            this.Type = DumpType.Type.Trace;
        }

        private string _dataToDump;
        public string DataToDump
        {
            get { return _dataToDump; }
            set 
            {
                if (this.TimeStamp == DateTime.MinValue)
                    this.TimeStamp = DateTime.Now;
                _dataToDump = value; 
            }
        }
    }
}
